<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2021/12/5
 * Time: 16:26
 */
if(empty($_POST['username'])){
    echo '姓名为空！！！';
    die;
}
if(empty($_POST['wx'])){
    echo '微信为空！！！';
    die;
}
$user=$_POST['username'];
$wei=$_POST['wx'];
if ($user=='admin'&&$wei=='123456'){
    echo '更新成功';
}else{
    echo '更新失败！！！';
}
